From: Florian Müllner Date: Thu, 26 Jun 2025 18:35:10 +0000 (+0200) Subject: overview: Delay showing until there is gesture progress X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~124^2^2~16 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=fb30a94243c3ced887a8ccadb2987c27d61bf467;p=gnome-shell.git overview: Delay showing until there is gesture progress Currently swiping down in the session enters the overview, but as there is no progress (clamped to 0 from negative), the only visible effect is that the top bar transitions to transparent. Avoid this glitch by delaying showing the overview until there is some non-0 progress. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7456 Part-of: --- diff --git a/js/ui/overview.js b/js/ui/overview.js index 88898bd63..cb0bf22f3 100644 --- a/js/ui/overview.js +++ b/js/ui/overview.js @@ -358,6 +358,9 @@ export class Overview extends Signals.EventEmitter { } _gestureUpdate(tracker, progress) { + if (progress === 0) + return; + if (!this._shown) { this._shown = true; this._visible = true;